package com.kaifamiao.stock.service;

import com.kaifamiao.stock.domain.Stock;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface StockService {

    int insert(Stock record);

    int insertSelective(Stock record);

    List<Stock> selectAll();

    List<Stock> selectByName(String code);

    List<Stock> selectByAllName();

    List<Stock> selectByEndTime(String code, String date);

}

